
package com.huawei.housekeeper.service;

import com.huawei.housekeeper.controller.request.GetWorkUserInfoDto;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * 功能描述
 *
 * @since 2022-03-22
 */
@Component
@FeignClient(value = "saas-user-info")
public interface UserinfoService {
    @PostMapping(value = "/user/info/workInfo")
    String getWorkInfo(@Valid @RequestBody GetWorkUserInfoDto workUserInfoDto);
}
